//
//  productCell.h
//  代理端
//
//  Created by mac on 16/3/4.
//  Copyright © 2016年 sliver. All rights reserved.
//

#import <UIKit/UIKit.h>
#define productCellHight 203*KScr

@class OrderModel;
typedef void (^CancleBlock)(OrderModel *model);
typedef NS_ENUM(NSInteger ,cellType)
{
    cellTypeWaitPost,
    cellTypeWaitGet,
    cellTypeAlreadySave

};
@protocol productCellDeleget <NSObject>
//退货
-(void)applyBackProduct:(OrderModel *)model;
//确认收货
-(void)masureGetProduct:(OrderModel *)model;
//chakanwuliu
-(void)loocForWuliu:(OrderModel *)model;
//删除订单
-(void)delegetOrder:(OrderModel *)model;
//查看原因
-(void)cleckReason:(OrderModel *)model;

@end
@interface productCell : UITableViewCell
+(UITableViewCell *)creatCellFromxib:(NSString *)nib  WithIdentifier:(NSString*)indentfier withtableview:(UITableView *)tableview;
-(void)gaveMeMode:(OrderModel*)model Withindex:(NSInteger)inter;
@property(nonatomic,assign)cellType celltyp;
@property(nonatomic,strong)CancleBlock block;
@property(nonatomic,assign)id<productCellDeleget>deleget;
@end
